<?php 
include 'init.php';
// $filename = _DIRECTORY_VAR . DIRECTORY_SEPARATOR . 'console' . DIRECTORY_SEPARATOR . date('Y-m-d His') . '.txt';
// system_file_io::mkdir(dirname($filename));
// @file_put_contents($filename, rand(1000, 9999));
// echo $filename;

// $ua = 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (FlipboardProxy/1.1; +http://flipboard.com/browserproxy)';
// $_SERVER['HTTP_USER_AGENT'] = $ua;
// $rq = new system_controller_request_http();

// echo $rq->isMobile();


$a = system_nav_advertise::getInstance()->getAdvertise('ad1');

echo '<pre>';
print_r($a);
echo '</pre>';
$b = system_nav_advertise::getInstance()->getAdvertise('analytics');

echo '<pre>';
print_r($b);
echo '</pre>';
?>